@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './global.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}

// wx-table
.oper-box {
  display: flex;
  align-content: center;
  justify-content: space-evenly;
}

.el-col {
  .el-select, .el-date-editor, .el-input-number {
    width: 100%;
  }
}

.table-btn {
  padding: 10px 14px 10px 15px;
}

.search-detail {
  position: absolute;
  right: 0;
  top: 0;
  right: 10px;
  height: 40px;
  line-height: 40px;
  font-size: 20px;
  cursor: pointer;
}

@mixin myFixed() {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
  .no-allow {
    position: relative;
    &-text {
      @include myFixed();
      z-index: 2004;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 20px;
      color: #ffffff;
    }
    &::before {
      content: '';
      @include myFixed();
      z-index: 2003;
      opacity: .4;
      background: #000;
    }
  }

.form-table-select {
  input {
    cursor: pointer;
  }
  .el-input__suffix {
    cursor: pointer;
    display: none;
  }
  &:hover {
    .el-input__suffix {
      display: block;
    }
  }
}

input::-webkit-outer-spin-button,

input::-webkit-inner-spin-button { -webkit-appearance: none; }

input[type="number"]{ -moz-appearance: textfield; }
